Skip to contentSkip to conversation

R9285 Unreal tournament perf regression with agd5f 4.15-wip kernels possibly CPU related

Bug 103175 [email protected] 1 participant 11 messages Oct 9, 2017 – Nov 22, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=103175

Bug ID: 103175
Summary: R9285 Unreal tournament perf regression with agd5f
4.15-wip kernels possibly CPU related
Product: DRI
Version: DRI git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Created attachment 134765
--> https://bugs.freedesktop.org/attachment.cgi?id=134765&action=edit
good perf gallium hud on 4.14 kernel.

R9285 Tonga, Compared to older kernels I have a perf regression with latest 4.14.0-rc3 based and previous 4.13-rc5 based agd5f 4.15-wip kernels.

This doesn't seem to affect other things like xonotic or unigine demos.

Issue = on fixes 4.14 and other older kernels I've tried, the game is OK ish perf wise, 25-60 fps.

On 4.15-wip its 10fps. Using HUD one obvious difference is that the slow case is only mostly using one cpu core, on a good kernel all 4 of my old phenom 2 x4 are used - possible red herring of course, I'll upload some screenshots.

The game is pre-alpha and doesn't always render properly - but it was vaguely playable fps wise until this kernel.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=103175

--- Comment #1 from Andy Furniss <[email protected]> --- Created attachment 134766
--> https://bugs.freedesktop.org/attachment.cgi?id=134766&action=edit
bad on previous 4.15 kernel cpu load different.

All tests done with both CPUs and GPU forced to perf.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=103175

--- Comment #2 from Andy Furniss <[email protected]> --- Created attachment 134767
--> https://bugs.freedesktop.org/attachment.cgi?id=134767&action=edit
bad on latest 4.15-wip cpu still different but not as obvious.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=103175

--- Comment #3 from Michel Dänzer <[email protected]> --- According to the HUD, the GPU load is actually higher in the bad cases. Have you checked what clocks the GPU runs at in each case?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=103175

--- Comment #4 from Michel Dänzer <[email protected]> ---
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=amd-staging-drm-next&id=e5f6a57e350a7921e4edc30874679bdff11b13f4
might help.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=103175

--- Comment #5 from Andy Furniss <[email protected]> ---
I had that fix and a couple of others on the first 4.15-wip I tried. They are in now AFAICT. I see Alex updated again since yesterday so I'll try that one later.

I did notice but forgot to highlight the GPU difference.
Given all the powerplay changes in 4.15-wip I do wonder if all is well but I would have expected Unigine/Xonotic to show it if something was wrong there.

One thing different about UT is it asks for more vram than I have, maybe that makes it stand out from other tests.

After posting this I did wonder whether the CPU difference is just because the fps is low and not the cause.

4.15-wip doesn't work for me going away from head (will throw some vmfaults and then lock soon after startx) so bisecting is not an easy option.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=103175

--- Comment #6 from Andy Furniss <[email protected]> ---
I tried latest 4.15-wip and it's still low perf.
On this test the perf was OK ish initially but degraded over the first 20 seconds.

For added hassle it seems that between 4.13 and 4.14-rc1 something changed that means I may hard lock when configuring ffmpeg! I am trying to find that one on linus git, but now agd5f have been rebased they are not stable for me.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=103175

--- Comment #7 from Andy Furniss <[email protected]> ---
This is OK now with amd-staging-drm-next, I'll close when 4.15s get updated assuming they get whatever fixed it as well.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=103175

--- Comment #8 from Andy Furniss <[email protected]> ---
It's not OK, I don't know what happened there, maybe I wasn't in the kernel I thought, though I am not convinced.
Whatever the reason, I can't get it to work now.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=103175

--- Comment #9 from Andy Furniss <[email protected]> --- possibly this is

https://bugs.freedesktop.org/show_bug.cgi?id=103100

Though I am not sure as I lock soon after startx if on the commit called there

On the commit before I am OK and UT perf is good.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=103175

Andy Furniss <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #10 from Andy Furniss <[email protected]> --- Testing from head of drm-next-4.15 I can change minor to 19 and 20 in drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
and am stable so can test.

19 gives good perf 20 bad, so setting as duplicate.

*** This bug has been marked as a duplicate of bug 103100 ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel